<extend name="Public/base" />
<block name="style"> <script type="text/javascript"
	src="__STATIC__/jmeditor/jmeditor/JMEditor.js"></script> </block>
<block name="body"> <!-- 标题栏 -->
<div class="main-title">
	<h2>公式编辑器示例</h2>
</div>

<div class="form-item">
	<div id="content" contentEditable="true">编辑框一</div>
	<div>
		<button class="btn btn-return"
			onclick="alert(JMEditor.isEmpty('content'));">判断是否为空</button>
		<button class="btn btn-return"
			onclick="$('.contentArea').val(JMEditor.html('content'));">取值</button>
		<a class="btn btn-return" href="{:U('tcpdf_test')}">生成PDF文档测试</a>
		<textarea class="contentArea"></textarea>
	</div>

</div>
</block>
<block name="script"> <script type="text/javascript">
	
</script> </block>